# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=xmessage
pkgver=1.0.5
pkgrel=0
pkgdesc="Display a message or query in a window"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
makedepends="libxaw-dev libx11-dev util-macros"
subpackages="$pkgname-doc"
source="https://xorg.freedesktop.org/archive/individual/app/${pkgname}-${pkgver}.tar.bz2"
options="!check"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="a8423c3986b1576fa67800c315a605a527bb9a8f594ac269a736ae7b91eed0d4d83deb89148197dc3cd3f0e51894146958ce2979f78e97dcdb99c5326e34dabe  xmessage-1.0.5.tar.bz2"
